FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER 32963797@qq.com

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /yllt-shangmi

WORKDIR /yllt-shangmi

EXPOSE 8887

ADD ./yllt-shangmi/yllt-shangmi-biz/target/yllt-shangmi-biz.jar ./

CMD sleep 120;java -Xms128m -Xmx256m -Djava.security.egd=file:/dev/./urandom -jar yllt-shangmi-biz.jar
